<?php

namespace app\model;

class Role extends RoleBase
{
    public function menus()
    {
        return $this->belongsToMany(Menu::class, RoleMenu::class, 'menu_id', 'role_id');
    }
}
